package com.i2863.receiptinterface.service;

import com.i2863.receiptinterface.entity.Receipt;

import java.util.List;

public interface ReceiptService {

    Receipt findOne(Integer Id);

    List<Receipt> findAll();

    void update(Receipt receipt);

    void delete(Integer Id);

    void add(Receipt receipt);

    Receipt findByCodeAndCodeNum(String code, String codeNum);

    List<Receipt> findByPhoneNum(String phoneNum,List<Integer> endActivityIds,Integer lastId,int pageSize);
}
